# from functools import reduce
#
# def list_dict_duplicate_removal(data_list):
#
#       run_function = lambda x, y: x if y in x else x + [y]
#       return reduce(run_function, [[], ] + data_list)
#
#
# if __name__ == '__main__':
#       # aa = [{"name": "张扬", 'age': 18, "school": "一高", "site": "河南"},
#       #       {"name": "张扬", 'age': 18, "school": "二高", "site": "河南"},
#       #       {"name": "张扬", 'age': 19, "school": "三高", "site": "河南"}]
#       aa = [{"a": "123", "b": "321"}, {"a": "123", "b": "321"}, {"b": "321", "a": "123"}]
#       result = list_dict_duplicate_removal(aa)
#       print(result)

# type = 5
# my_type = "理论 " if type == 1 else "实验" if type == 2 else "实践" if type == 3 else "体育" if type == 4 else "艺术技法" \
#       if type == 5 else "外语课" if type == 6 else "艺术理论"
# print(my_type)

